@layout("/common/_container.html",{js:["/assets/fruits/fruitsStorageStock/fruitsStorageStock.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">库存管理管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
				            <div class="layui-inline">
				            	<img alt="" src="https://s1.ax1x.com/2022/06/28/jZtJs0.png" style="width:100px;height: 60px;" >
				                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 0px;">
							    	<legend>库存管理</legend>
							  	</fieldset>
				            </div>
		                    <div class="layui-inline">
		                        <select id="stockstate">
		                            <option value="">选择状态</option>
						            <option value="在库">在库</option>
						            <option value="已清空">已清空</option>
		                        </select>
		                    </div>
		                    <div class="layui-inline">
		                        <select id="condition">
		                            <option value="">选择仓库</option>
						            <option value="成品仓">成品仓</option>
						            <option value="加工仓">加工仓</option>
						            <option value="直发仓">直发仓</option>
						            <option value="次果仓">次果仓</option>
						            <option value="废果仓">废果仓</option>
		                        </select>
		                    </div>
		                    <div class="layui-inline">
		                        <input id="positionNumber" class="layui-input" type="text" placeholder="库位"/>
		                    </div>
		                    <div class="layui-inline">
		                        <input id="grades" class="layui-input" type="text" placeholder="等级"/>
		                    </div>
		                    <div class="layui-inline">
		                        <input id="producetime" class="layui-input" type="text" placeholder="生产日期"/>
		                    </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="fruitsStorageStockTable" lay-filter="fruitsStorageStockTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="empty">损耗</a>
  {{#  if(d.warehouseName == '废果仓'){ }}
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="scrap">报废</a>
  {{#  } }}
</script>
@}